
@extends('Admin.layout')

@section('content')
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                后台
                <small>Control panel</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> 主页</a></li>
                <li class="active">Dashboard</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
            <!-- Small boxes (Stat box) -->
            <div class="row">
              <div class="col-md-12">
                  后台
              </div>

            </div><!-- /.row -->
            <!-- Main row -->
            <!-- 公司公告栏 -->
      <div class="col-md-12">
              <div class="box box-solid">
                <div class="box-header with-border">
                  <h3 class="box-title">公告</h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                  <div id="accordion" class="box-group">
                    <!-- we are adding the .panel class so bootstrap.js collapse plugin detects it -->


                    @foreach($res as $v)
                    <div class="panel box box-primary">
                      <div class="box-header with-border">
                        <h4 class="box-title">
                          <a href="#collapseOne" data-parent="#accordion" data-toggle="collapse">
                            {{ $v->title }}
                          </a>
                        </h4>
                      </div>
                      <div class="panel-collapse collapse in" id="collapseOne">
                        <div class="box-body">
                          {!! $v->content !!}
                        </div>
                      </div>
                    </div>

                @endforeach



                 
                  </div>
                </div><!-- /.box-body -->
              </div><!-- /.box -->
<!-- 公司公告栏 -->
               <div class="callout callout-warning col-md-12">
                    <h3>智联网站实时总访问量： <span style="font-size:45px">{{ $volume }}</span></h3>
                    
               </div>

            </div>



            









        </section><!-- /.content -->
    </div><!-- /.content-wrapper -->

@endsection


